package com.batchaps.classes;

import javax.microedition.lcdui.Graphics;

import com.batchaps.global.GameEngine;

public class ImpedimentType1 extends Impediment{
	
	public ImpedimentType1(float posX , float posY , float sX , float sY , int w , int h){
		sprite2D = new Sprite2D(GameEngine.IMPEDIMENT_TYPE1_STR, 
								GameEngine.IMPEDIMENT_TYPE1_N,
								GameEngine.IMPEDIMENT_TYPE1_STRTYPE,
								w, h, sX, sY, posX, posY);
		isDraw = true;
	}

	public int getType() {
		// TODO Auto-generated method stub
		return 1;//type only wall
	}

	public void Update() {
		// TODO Auto-generated method stub
		
	}

	public void Draw(Graphics g) {
		// TODO Auto-generated method stub
		sprite2D.Draw(g);
		
	}

}
